package com.uzai.console.entity;

import com.uzai.common.entity.BaseEntity;

import java.io.Serializable;
public class TbOrder extends BaseEntity {

    /**
     * 运营商ID
     */
    private Long merId;
    /**
     * 父订单号
     */
    private String parentOrderNo;
    /**
     * 子订单号
     */
    private String childOrderNo;
    /**
     * 商品ID
     */
    private String itemId;

    /**
     * 商品搜索ID
     */
    private String tkItemId;

    /**
     * 商品ID前缀
     */
    private String itemIdPrefix;

    /**
     * 商品标题
     */
    private String title;
    /**
     * 商品单价
     */
    private Double price;
    /**
     * 商品主图链接
     */
    private String imageUrl;
    /**
     * 商品数量
     */
    private Integer num;
    /**
     * 商品类目id
     */
    private Integer cid;
    /**
     * 一级类目名称
     */
    private String categoryName;
    /**
     * 店铺名称
     */
    private String shopTitle;
    /**
     * 付款金额
     */
    private Double payment;
    /**
     * 佣金比例类型，0实际佣金比例，1查询佣金比例
     */
    private Integer rateType;
    /**
     * 佣金比例
     */
    private Double commissionRate;
    /**
     * 佣金
     */
    private Double commission;
    /**
     * 阿里妈妈扣掉的技术服务费
     */
    private Double alimamaShareFee;
    /**
     * 点击时间
     */
    private Integer clickdt;
    /**
     * 创建时间
     */
    private Integer createdt;
    /**
     * 付款时间
     */
    private Integer paydt;
    /**
     * 结算时间
     */
    private Integer accountdt;
    /**
     * 联盟的淘宝用户id(对用tb_token.user_id字段)
     */
    private Long alimmTbId;
    /**
     * 联盟ID
     */
    private Long pubId;
    /**
     * 媒体ID
     */
    private Long siteId;
    /**
     * 广告ID
     */
    private Long adzoneId;
    /**
     * 订单状态(0订单付款 1订单结算 2订单失效 3维权中 4维权成功 5维权失败 6订单成功 7失效拆单)
     */
    private Integer status;
    /**
     * 返利状态 （0未返利 1已返利 2回收返利 3返利冻结）
     */
    private Integer reStatus;
    /**
     * 订单类型(淘宝、天猫、聚划算、饿了么、免单、淘宝特价版、超好订单 ) 
     */
    private String orderType;
    /**
     * 订单类型(0-淘宝、1-天猫、2-聚划算、3-饿了么、4-免单、5-淘宝特价版、6-超好订单 ) 
     */
    private Integer orderTypeId;
    /**
     * 二方(2)：佣金收益的第一归属者； 三方(3)：从其他淘宝客佣金中进行分成的推广者
     */
    private Integer orderRole;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 昵称
     */
    private String nickName;
    /**
     * 业务端用户id，如wxid,openid
     */
    private String bizUserId;
    /**
     * 设备id
     */
    private Long deviceUniqueId;
    /**
     * 设备类型（如微信、公众号）
     */
    private String deviceType;
    /**
     * 奖励给用户得积分
     */
    private Integer reUserInte;
    /**
     * 用户得到的返利金额
     */
    private Double reUserBal;
    /**
     * 合伙人得到的提成金额
     */
    private Double rePartnerBal;
    /**
     * 代理得到的提成金额
     */
    private Double reAgentBal;
    /**
     * 上级代理得到的提成金额
     */
    private Double reSlAgentBal;
    /**
     * 上级得到的提成金额
     */
    private Double reParentBal;
    /**
     * 上上级得到的提成金额
     */
    private Double reSlParentBal;
    /**
     * 其他角色提成金额
     */
    private Double reOtherBal;
    /**
     * 利润
     */
    private Double profit;
    /**
     * 分佣明细
     */
    private String reInfo;
    /**
     * 版本号
     */
    private Integer version;
    /**
     * appkey
     */
    private String appKey;
    /**
     * 预售商品支付的定金金额
     */
    private Double depositPrice;
    /**
     * 预售商品定金支付时间
     */
    private Integer tbDepositTime;
    /**
     * 群微信id
     */
    private String sourceWxid;
    /**
     * 解冻时间
     */
    private Integer unfreezeTime;
    /**
     * 0非免单，1免单
     */
    private Integer free;
    /**
     * 是否是定向分佣（0否，1是）
     */
    private Integer priReward;
    /**
     * 是否是新用户订单（杀熟）：0否，1是
     */
    private Integer newUserOrder;
    /**
     * 渠道ID(联盟的)
     */
    private Long relationId;
    /**
     * 会员ID(联盟的)
     */
    private Long specialId;
    /**
     * 产品类型
     */
    private String flowSource;
    /**
     * 订单来源（0 PC个人微信，1 安卓手机个人微信,2 PC企业微信,3 Ipad协议个人微信,4 CMS, 5 小程序, 6 公众号）
     */
    private Integer orderSource;
    /**
     * 淘客订单状态 3：订单结算，12：订单付款， 13：订单失效，14：订单成功
     */
    private Integer tkStatus;
    /**
     * 维权标签，(0 含义为非维权 1 含义为维权订单)
     */
    private Integer refundTag;
    /**
     * 维权发起时间
     */
    private Integer refundCreateTime;
    /**
     * 维权完成时间
     */
    private Integer refundFinishTime;
    /**
     * 应返商家金额
     */
    private Double refundOpeAmount;
    /**
     * 退款金额
     */
    private Double refundAmount;
    /**
     * 回收的奖励信息
     */
    private String refundRewardInfo;
    /**
     * 退款结算金额
     */
    private Double refundSettleAmount;
    /**
     * 删除状态(0-未删除；1-已删除）
     */
    private Integer delStatus;
    /**
     * 是否是饿了么订单（0否，1是）
     */
    private Integer elm;

    /**
     * 订单其他备注
     */
    private String remark;

    public Long getMerId() {
        return merId;
    }

    public void setMerId(Long merId) {
        this.merId = merId;
    }

    public String getParentOrderNo() {
        return parentOrderNo;
    }

    public void setParentOrderNo(String parentOrderNo) {
        this.parentOrderNo = parentOrderNo;
    }

    public String getChildOrderNo() {
        return childOrderNo;
    }

    public void setChildOrderNo(String childOrderNo) {
        this.childOrderNo = childOrderNo;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getShopTitle() {
        return shopTitle;
    }

    public void setShopTitle(String shopTitle) {
        this.shopTitle = shopTitle;
    }

    public Double getPayment() {
        return payment;
    }

    public void setPayment(Double payment) {
        this.payment = payment;
    }

    public Integer getRateType() {
        return rateType;
    }

    public void setRateType(Integer rateType) {
        this.rateType = rateType;
    }

    public Double getCommissionRate() {
        return commissionRate;
    }

    public void setCommissionRate(Double commissionRate) {
        this.commissionRate = commissionRate;
    }

    public Double getCommission() {
        return commission;
    }

    public void setCommission(Double commission) {
        this.commission = commission;
    }

    public Double getAlimamaShareFee() {
        return alimamaShareFee;
    }

    public void setAlimamaShareFee(Double alimamaShareFee) {
        this.alimamaShareFee = alimamaShareFee;
    }

    public Integer getClickdt() {
        return clickdt;
    }

    public void setClickdt(Integer clickdt) {
        this.clickdt = clickdt;
    }

    public Integer getCreatedt() {
        return createdt;
    }

    public void setCreatedt(Integer createdt) {
        this.createdt = createdt;
    }

    public Integer getPaydt() {
        return paydt;
    }

    public void setPaydt(Integer paydt) {
        this.paydt = paydt;
    }

    public Integer getAccountdt() {
        return accountdt;
    }

    public void setAccountdt(Integer accountdt) {
        this.accountdt = accountdt;
    }

    public Long getAlimmTbId() {
        return alimmTbId;
    }

    public void setAlimmTbId(Long alimmTbId) {
        this.alimmTbId = alimmTbId;
    }

    public Long getPubId() {
        return pubId;
    }

    public void setPubId(Long pubId) {
        this.pubId = pubId;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public Long getAdzoneId() {
        return adzoneId;
    }

    public void setAdzoneId(Long adzoneId) {
        this.adzoneId = adzoneId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getReStatus() {
        return reStatus;
    }

    public void setReStatus(Integer reStatus) {
        this.reStatus = reStatus;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public Integer getOrderTypeId() {
        return orderTypeId;
    }

    public void setOrderTypeId(Integer orderTypeId) {
        this.orderTypeId = orderTypeId;
    }

    public Integer getOrderRole() {
        return orderRole;
    }

    public void setOrderRole(Integer orderRole) {
        this.orderRole = orderRole;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getBizUserId() {
        return bizUserId;
    }

    public void setBizUserId(String bizUserId) {
        this.bizUserId = bizUserId;
    }

    public Long getDeviceUniqueId() {
        return deviceUniqueId;
    }

    public void setDeviceUniqueId(Long deviceUniqueId) {
        this.deviceUniqueId = deviceUniqueId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public Integer getReUserInte() {
        return reUserInte;
    }

    public void setReUserInte(Integer reUserInte) {
        this.reUserInte = reUserInte;
    }

    public Double getReUserBal() {
        return reUserBal;
    }

    public void setReUserBal(Double reUserBal) {
        this.reUserBal = reUserBal;
    }

    public Double getRePartnerBal() {
        return rePartnerBal;
    }

    public void setRePartnerBal(Double rePartnerBal) {
        this.rePartnerBal = rePartnerBal;
    }

    public Double getReAgentBal() {
        return reAgentBal;
    }

    public void setReAgentBal(Double reAgentBal) {
        this.reAgentBal = reAgentBal;
    }

    public Double getReSlAgentBal() {
        return reSlAgentBal;
    }

    public void setReSlAgentBal(Double reSlAgentBal) {
        this.reSlAgentBal = reSlAgentBal;
    }

    public Double getReParentBal() {
        return reParentBal;
    }

    public void setReParentBal(Double reParentBal) {
        this.reParentBal = reParentBal;
    }

    public Double getReSlParentBal() {
        return reSlParentBal;
    }

    public void setReSlParentBal(Double reSlParentBal) {
        this.reSlParentBal = reSlParentBal;
    }

    public Double getReOtherBal() {
        return reOtherBal;
    }

    public void setReOtherBal(Double reOtherBal) {
        this.reOtherBal = reOtherBal;
    }

    public Double getProfit() {
        return profit;
    }

    public void setProfit(Double profit) {
        this.profit = profit;
    }

    public String getReInfo() {
        return reInfo;
    }

    public void setReInfo(String reInfo) {
        this.reInfo = reInfo;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public Double getDepositPrice() {
        return depositPrice;
    }

    public void setDepositPrice(Double depositPrice) {
        this.depositPrice = depositPrice;
    }

    public Integer getTbDepositTime() {
        return tbDepositTime;
    }

    public void setTbDepositTime(Integer tbDepositTime) {
        this.tbDepositTime = tbDepositTime;
    }

    public String getSourceWxid() {
        return sourceWxid;
    }

    public void setSourceWxid(String sourceWxid) {
        this.sourceWxid = sourceWxid;
    }

    public Integer getUnfreezeTime() {
        return unfreezeTime;
    }

    public void setUnfreezeTime(Integer unfreezeTime) {
        this.unfreezeTime = unfreezeTime;
    }

    public Integer getFree() {
        return free;
    }

    public void setFree(Integer free) {
        this.free = free;
    }

    public Integer getPriReward() {
        return priReward;
    }

    public void setPriReward(Integer priReward) {
        this.priReward = priReward;
    }

    public Integer getNewUserOrder() {
        return newUserOrder;
    }

    public void setNewUserOrder(Integer newUserOrder) {
        this.newUserOrder = newUserOrder;
    }

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Long getSpecialId() {
        return specialId;
    }

    public void setSpecialId(Long specialId) {
        this.specialId = specialId;
    }

    public String getFlowSource() {
        return flowSource;
    }

    public void setFlowSource(String flowSource) {
        this.flowSource = flowSource;
    }

    public Integer getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(Integer orderSource) {
        this.orderSource = orderSource;
    }

    public Integer getTkStatus() {
        return tkStatus;
    }

    public void setTkStatus(Integer tkStatus) {
        this.tkStatus = tkStatus;
    }

    public Integer getRefundTag() {
        return refundTag;
    }

    public void setRefundTag(Integer refundTag) {
        this.refundTag = refundTag;
    }

    public Integer getRefundCreateTime() {
        return refundCreateTime;
    }

    public void setRefundCreateTime(Integer refundCreateTime) {
        this.refundCreateTime = refundCreateTime;
    }

    public Integer getRefundFinishTime() {
        return refundFinishTime;
    }

    public void setRefundFinishTime(Integer refundFinishTime) {
        this.refundFinishTime = refundFinishTime;
    }

    public Double getRefundOpeAmount() {
        return refundOpeAmount;
    }

    public void setRefundOpeAmount(Double refundOpeAmount) {
        this.refundOpeAmount = refundOpeAmount;
    }

    public Double getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(Double refundAmount) {
        this.refundAmount = refundAmount;
    }

    public String getRefundRewardInfo() {
        return refundRewardInfo;
    }

    public void setRefundRewardInfo(String refundRewardInfo) {
        this.refundRewardInfo = refundRewardInfo;
    }

    public Double getRefundSettleAmount() {
        return refundSettleAmount;
    }

    public void setRefundSettleAmount(Double refundSettleAmount) {
        this.refundSettleAmount = refundSettleAmount;
    }

    public Integer getDelStatus() {
        return delStatus;
    }

    public void setDelStatus(Integer delStatus) {
        this.delStatus = delStatus;
    }

    public Integer getElm() {
        return elm;
    }

    public void setElm(Integer elm) {
        this.elm = elm;
    }

    public String getItemIdPrefix() {
        return itemIdPrefix;
    }

    public void setItemIdPrefix(String itemIdPrefix) {
        this.itemIdPrefix = itemIdPrefix;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTkItemId() {
        return tkItemId;
    }

    public void setTkItemId(String tkItemId) {
        this.tkItemId = tkItemId;
    }
}